Camoo\Pay\WooCommerce\WC_CamooPay_Gateway S

Total Complexity 42
Dependencies 15
Dependents 1
Total lines 518
Lines of code 390
Logical lines of code 141
Comment lines 31
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
onNotification()
A
43 7 53
process_payment()
S
44 6 43
init_form_fields()
S
39 1 81
validate_fields()
S
55 4 21
payment_fields()
S
49 3 35
process_admin_options()
S
49 3 33
prepareOrderData()
S
47 2 36
get_icon()
S
55 2 20
__construct()
S
55 2 18
placeOrder()
S
59 2 15
handleOrderResponse()
S
63 2 11
normalizeXafAmount()
S
70 2 6
get_title()
S
71 2 5
can_refund_order()
S
82 1 3
registerHooks()
S
78 1 3
getWcOrder()
S
79 1 3
cleanUpPhone()
S
74 1 4